widget: Use get_instance_private more often
authorTimm Bäder <mail@baedert.org>
Sat, 21 Apr 2018 08:05:39 +0000 (10:05 +0200)
committerTimm Bäder <mail@baedert.org>
Sat, 21 Apr 2018 08:06:57 +0000 (10:06 +0200)
commitac268b1c5d4e77ce5d371c40769c169e4e35436e
tree47e1491005591fa006192cd2db77750e73c90a45
parentfae1bbb3fe8e9aa4a9280062f03e62c0aa3ff7f2
widget: Use get_instance_private more often

To be more consistent with newer code. We can also save a few lines here
and there by pulling the priv initialization before the precondition
checks.
gtk/gtkwidget.c